package com.design.factory.abstractfactory;

/**
 * @auther LiZiBa
 * @date 2020/8/6 21:39
 * @description:
 **/
public abstract class CourseFactory {

    // 存在公共逻辑我们可以用abstract
    public void init(){

        System.out.println("init...");
    }

    protected abstract IVideo createVideo();

    protected abstract INote createNote();

}
